package com.jams.goodox.entity;

import com.google.gson.annotations.SerializedName;
import com.jams.goodox.net.BaseEntity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by jams_zhen on 2016/9/23.
 */

public class TenementMonthBean extends BaseEntity {

    private List<DataBean> data;

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean implements Serializable {
        private String item;
        private String enterpriseName;
        /**
         * billEndTime : 1477843200000
         * billMonth : null年10月
         * billStartTime : 1475251200000
         * count : 1
         * id : 2
         * period : 2016.10.01-2016.10.31
         * price : 0.01
         * totalPrice : 0.01
         * unit : 元/月
         */

        @SerializedName("billMonthList")
        private List<BillMonthListBean> billMonthList;

        public String getItem() {
            return item;
        }

        public void setItem(String item) {
            this.item = item;
        }

        public String getItemAddress() {
            return enterpriseName;
        }

        public void setItemAddress(String itemAddress) {
            this.enterpriseName = itemAddress;
        }

        public List<BillMonthListBean> getBillMonthList() {
            return billMonthList;
        }

        public void setBillMonthList(List<BillMonthListBean> billMonthList) {
            this.billMonthList = billMonthList;
        }

        public static class BillMonthListBean implements Serializable {
            @SerializedName("billEndTime")
            private long billEndTime;
            @SerializedName("billMonth")
            private String billMonth;
            @SerializedName("billStartTime")
            private long billStartTime;
            @SerializedName("count")
            private String count;
            @SerializedName("id")
            private String id;
            @SerializedName("period")
            private String period;
            @SerializedName("price")
            private double price;
            @SerializedName("totalPrice")
            private double totalPrice;
            @SerializedName("unit")
            private String unit;

            private boolean isChoose;

            public boolean isChoose() {
                return isChoose;
            }


            public void setChoose(boolean choose) {
                isChoose = choose;
            }

            public long getBillEndTime() {
                return billEndTime;
            }

            public void setBillEndTime(long billEndTime) {
                this.billEndTime = billEndTime;
            }

            public String getBillMonth() {
                return billMonth;
            }

            public void setBillMonth(String billMonth) {
                this.billMonth = billMonth;
            }

            public long getBillStartTime() {
                return billStartTime;
            }

            public void setBillStartTime(long billStartTime) {
                this.billStartTime = billStartTime;
            }

            public String getCount() {
                return count;
            }

            public void setCount(String count) {
                this.count = count;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getPeriod() {
                return period;
            }

            public void setPeriod(String period) {
                this.period = period;
            }

            public double getPrice() {
                return price;
            }

            public void setPrice(double price) {
                this.price = price;
            }

            public double getTotalPrice() {
                return totalPrice;
            }

            public void setTotalPrice(double totalPrice) {
                this.totalPrice = totalPrice;
            }

            public String getUnit() {
                return unit;
            }

            public void setUnit(String unit) {
                this.unit = unit;
            }
        }
    }
}
